
#pragma once

#include "base/core/singleton.h"
#include "Common/TableDefine.h"


class UiDuplicateTipsUICfg : public ManualSingleton <UiDuplicateTipsUICfg>
{
	friend ManualSingleton <UiDuplicateTipsUICfg>;
public:
	UiDuplicateTipsUICfg();
	~UiDuplicateTipsUICfg();
	bool Init(const char *szCfgFile, const char *szSplitChar);
	bool UnInit();
	void Clear();
	const UiDuplicateTipsUICfgInfo *GetUiDuplicateTipsUICfgInfo(int32_t notesId);
	const UiDuplicateTipsUICfgMap *GetUiDuplicateTipsUICfgMap() { return &m_UiDuplicateTipsUICfgMap; }
private:
	UiDuplicateTipsUICfgMap m_UiDuplicateTipsUICfgMap;
};

#define  g_MakeUiDuplicateTipsUICfgTable() (UiDuplicateTipsUICfg::Instance())
#define  g_GetUiDuplicateTipsUICfgTable() (UiDuplicateTipsUICfg::GetInstance())
#define  g_DelUiDuplicateTipsUICfgTable() (UiDuplicateTipsUICfg::Destroy())